package com.ruoyi.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 活动自定义分类对象 product_activity_category
 * 
 * @author liuhuizhong
 * @date 2025-08-13
 */
public class ProductActivityCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自定义分类编号 */
    private Long customCategoryId;

    /** 关联活动 ID */
    @Excel(name = "关联活动 ID")
    private Long activityId;

    private ProductActivity activity;

    private List<ProductActivityCategorySkuRelation> skuRelations;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public void setCustomCategoryId(Long customCategoryId) 
    {
        this.customCategoryId = customCategoryId;
    }

    public Long getCustomCategoryId() 
    {
        return customCategoryId;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customCategoryId", getCustomCategoryId())
            .append("activityId", getActivityId())
            .append("categoryName", getCategoryName())
            .append("sort", getSort())
            .append("description", getDescription())
            .toString();
    }

    public ProductActivity getActivity() {
        return activity;
    }

    public void setActivity(ProductActivity activity) {
        this.activity = activity;
    }

    public List<ProductActivityCategorySkuRelation> getSkuRelations() {
        return skuRelations;
    }

    public void setSkuRelations(List<ProductActivityCategorySkuRelation> skuRelations) {
        this.skuRelations = skuRelations;
    }
}
